package com.example.demoface.domian;

import com.alibaba.fastjson2.annotation.JSONField;

public class ResponseResult {
    @JSONField(name = "error_code")
    private int errorCode;

    @JSONField(name = "error_msg")
    private String errorMsg;

    @JSONField(name = "log_id")
    private long logId;

    @JSONField(name = "timestamp")
    private long timestamp;

    @JSONField(name = "cached")
    private int cached;

    @JSONField(name = "result")
    private Result result;

    // Getters and Setters
    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public long getLogId() {
        return logId;
    }

    public void setLogId(long logId) {
        this.logId = logId;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public int getCached() {
        return cached;
    }

    public void setCached(int cached) {
        this.cached = cached;
    }

    public Result getResult() {
        return result;
    }

    public void setResult(Result result) {
        this.result = result;
    }
}

